EXTRA_OECONF:append = "\
    --with-abi=lp64d \
    --enable-tls \
    --with-arch=loongarch64 \
    --with-fix-loongson3-llsc \
    "

EXTRA_OECONF:remove = " \
    --disable-silent-rules \
    --disable-dependency-tracking \
    --without-local-prefix \
    --disable-install-libiberty \
    --disable-libssp \
    --disable-bootstrap \
    --disable-static \
    --disable-nls \
    "